<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>增加公告和通知</title>

<script src="${pageContext.request.contextPath}/ckeditor/ckeditor.js"></script>
</head>
<div style="width: 719px; height: 489px;" id="content">
	<div style="height: 30px;" id="pronav">
		<p>公告管理&gt;增加公告</p>
		<p></p>
	</div>
	<div style="width: 719px;" id="prolist">
		<form action="/CultureSalon/noticeadd.do" method="post">
		<input type="hidden" name="action" id="action" value="addsave">
			<table width="690" border="0" align="center">
				<tr>
					<td  width="90">通知标题:</td>
					<td width="600"> <input size="60" type="text" name="title"
						id="title"></td>
				</tr>
				<tr>
					<td>作&nbsp;&nbsp;&nbsp;&nbsp;者:</td>
					<td><input type="text" name="author" id="author"></td>
				</tr>
				<tr>
					<td>发布时间：</td>
					<td> <input type="text" name="date" id="date" class="Wdate" onClick="WdatePicker()"></td>
				</tr>

				<tr>
					<td>是否显示：</td>
					<td><select id="recommend" name="recommend" pattern="int">
							<option value="0">显示通知</option>

							<option value="1">隐藏通知</option>

					</select></td>
				</tr>
				<tr>


					<td>分&nbsp;&nbsp;&nbsp;&nbsp;类:</td>
					<td>
					<select id="categoryId"  name="categoryId"   pattern="int" >
        <option value="0">==请选择分类==</option>
        <c:forEach items="${requestScope.noticeCategories }" var="category">
          <option value="${category.id }">${category.categoryName }</option>
          </c:forEach>
        </select>
					</td>
				</tr>
				<tr>
					<td colspan="3"><textarea class="ckeditor" cols="80"
							id="content" name="content" rows="3"></textarea></td>
				</tr>
				<tr>
					<td><input type="submit" name="submit " id="submit"
						value="提交 "></td>
					<td><input type="reset" name="reset " id="reset" value="重置 ">
					</td>
					<td></td>
				</tr>
			</table>

		</form>
	</div>
</div>

